<?php
require 'libs/ModelBase.php';
class loginModel extends ModelBase
{
	public function getUser($user){
		
		$consulta = $this->db->prepare("SELECT * FROM usuario WHERE user = ?");
 		$consulta->execute(array($user));
		
		return $consulta;
	}
}
?>